/* global require, module */
var EmberApp = require('ember-cli/lib/broccoli/ember-app');

module.exports = function(defaults) {
  console.log(defaults.project.addonPackages['broccoli-asset-rev']);
  var app = new EmberApp(defaults, {
    // fingerprint: {
    //
    // }
    // outputPaths: {
    //   app: {
    //     html: 'index.html'
    //   }
    // }
  });

  // Use `app.import` to add additional libraries to the generated
  // output files.
  //
  // If you need to use different assets in different
  // environments, specify an object as the first parameter. That
  // object's keys should be the environment name and the values
  // should be the asset to use in that environment.
  //
  // If the library that you are including contains AMD or ES6
  // modules that you would like to import into your application
  // please specify an object with the list of modules as keys
  // along with the exports of each module as its value.
  app.import('bower_components/ember-uploader/dist/ember-uploader.named-amd.js');
  app.import('bower_components/pure/pure-min.css');
  app.import('bower_components/font-awesome/css/font-awesome.min.css');
  app.import('bower_components/font-awesome/fonts/fontawesome-webfont.woff2', {
    destDir: 'fonts'
  });
  app.import('bower_components/font-awesome/fonts/fontawesome-webfont.woff', {
    destDir: 'fonts'
  });
  app.import('bower_components/font-awesome/fonts/fontawesome-webfont.ttf', {
    destDir: 'fonts'
  });

  // app.import('bower_components/quill/dist/quill.base.css');
  app.import('bower_components/quill/dist/quill.snow.css');
  app.import('bower_components/quill/dist/quill.min.js');

  //only allowed from bower_components or vendor directory.
  // app.import('components/fortawesome/font-awesome/v4.4.0/css/font-awesome.css');
  return app.toTree();
};
